package com.share.hope.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.hope.entity.Vocabulary;
import com.share.hope.entity.page.PageQueryVo;
import com.share.hope.entity.result.PageR;
import com.share.hope.entity.result.R;

public interface VocabularyService extends IService<Vocabulary> {

    R<String> createVocabulary(Vocabulary vocabulary);

    R<String> updateVocabulary(Vocabulary vocabulary);

    R<String> deleteVocabulary(Long id);

    R<PageR<Vocabulary>> pageVocabulary(PageQueryVo<Vocabulary> queryVo);

}
